package com.sfzy.mapper;

import com.sfzy.entity.ClassQaAnswer;
import com.sfzy.entity.ClassQaQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassQaAnswerMapper {
    int addClassQaAnswer(ClassQaAnswer classQaAnswer);
    int deleteClassQaAnswer(int id);
    int updateClassQaAnswer(ClassQaAnswer classQaAnswer);
    ClassQaAnswer getById(int id);
    List<ClassQaAnswer> getByPage(ClassQaAnswer classQaAnswer);
}
